package cn.tedu.hongpei.pojo.Dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author coinyang
 * @date 2023/3/21 17:17
 */
@Data
public class UserRegDto implements Serializable {
    @NotNull(message = "注册失败,名字不能为空")
    private String userName;

    private String nickName;

    private String password;
}
